package com.ruoyi.erecord.samplebox.domain.vo;

import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.annotation.Translation;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.tools.constant.ERecordTransConstant;
import com.ruoyi.common.tools.convert.ExcelEmployeeConvert;
import com.ruoyi.common.tools.convert.ExcelRegionConver;

import lombok.Data;



/**
 * 样本框视图对象 t_samplebox
 *
 * @author cc
 * @date 2023-04-21
 */
@Data
@ExcelIgnoreUnannotated
public class SampleboxVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;
    
    /**
     * 样本框编码
     */
    @ExcelProperty(value = "样本框编码")
    private String sampleboxCode;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String sampleboxName;

    /**
     * 样本框类型
     */
    @ExcelProperty(value = "样本框类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "erecord_samplebox_type")
    private Integer sampleboxType;

    /**
     * 所属区域
     */
    @ExcelProperty(value = "所属区域" , converter = ExcelRegionConver.class)
    private String region;

    @Translation(type = ERecordTransConstant.REGION_ID_TO_NAME , mapper = "region")
    private String regionName;
    
    /**
     * 所属街道
     */
    @ExcelProperty(value = "所属街道", converter = ExcelRegionConver.class)
    private String street;

    @Translation(type = ERecordTransConstant.REGION_ID_TO_NAME , mapper = "street")
    private String streetName;
    
    /**
     * 所属社区
     */
    @ExcelProperty(value = "所属社区", converter = ExcelRegionConver.class)
    private String community;

    @Translation(type = ERecordTransConstant.REGION_ID_TO_NAME , mapper = "community")
    private String communityName;
    
    /**
     * 所属街区
     */
    @ExcelProperty(value = "所属街区")
    private String block;

    /**
     * 经度
     */
    @ExcelProperty(value = "经度")
    private String longitude;

    /**
     * 纬度
     */
    @ExcelProperty(value = "纬度")
    private String latitude;

    /**
     * 详细地址
     */
    @ExcelProperty(value = "详细地址")
    private String detailedAddress;

    /**
     * 参考地址
     */
    @ExcelProperty(value = "参考地址")
    private String referenceAddress;

    /**
     * 责任单位
     */
    @ExcelProperty(value = "责任单位")
    private String accountabilityUnit;

    /**
     * 负责企业
     */
    @ExcelProperty(value = "负责企业")
    private String responsibleEnterprise;

    /**
     * 标段名称
     */
    @ExcelProperty(value = "标段名称")
    private String sectionName;

    /**
     * 主管单位
     */
    @ExcelProperty(value = "主管单位")
    private String competentOrganization;

    /**
     * 监管单位
     */
    @ExcelProperty(value = "监管单位")
    private String supervisoryUnit;

    /**
     * 设施状态
     */
    @ExcelProperty(value = "设施状态")
    private String facilityStatus;

    /**
     * 住宅小区类别
     */
    @ExcelProperty(value = "住宅小区类别")
    private String residentialClass;

    /**
     * 备注说明
     */
    @ExcelProperty(value = "备注说明")
    private String remark;

    /**
     * 所在行业
     */
    @ExcelProperty(value = "所在行业")
    private String industry;

    /**
     * 维护开始时间
     */
    @ExcelProperty(value = "维护开始时间")
    private Date maintenanceStartTime;

    /**
     * 维护结束时间
     */
    @ExcelProperty(value = "维护结束时间")
    private Date maintenanceEndTime;

    /**
     * 负责人
     */
    @ExcelProperty(value = "负责人")
    private String principal;

    /**
     * 片区主管
     */
    @ExcelProperty(value = "片区主管")
    private String districtSupervisor;

    /**
     * 城市管家负责人
     */
    @ExcelProperty(value = "城市管家负责人" , converter = ExcelEmployeeConvert.class)
    private Long cityPrincipal;

    @Translation(type = ERecordTransConstant.EMPLOYEE_ID_TO_NAME , mapper = "cityPrincipal")
    private String cityPrincipalName;
    
    /**
     * 城市管家负责人手机号码
     */
    @ExcelProperty(value = "城市管家负责人手机号码")
    private String cityPrincipalPhone;

    /**
     * 城市管家
     */
    @ExcelProperty(value = "城市管家", converter = ExcelEmployeeConvert.class)
    private Long citySteward;

    @Translation(type = ERecordTransConstant.EMPLOYEE_ID_TO_NAME , mapper = "citySteward")
    private String cityStewardName;
    
    /**
     * 城市管家手机号码
     */
    @ExcelProperty(value = "城市管家手机号码")
    private String cityStewardPhone;

    /**
     * 所属等级
     */
    @ExcelProperty(value = "所属等级")
    private String grade;

    /**
     * 要求
     */
    @ExcelProperty(value = "要求", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "erecord_samplebox_require_type")
    private Integer askFor;

    /**
     * 巡检地点范围
     */
    //@ExcelProperty(value = "巡检地点范围")
    private String inspectionSiteArea;

    /**
     * 创建日期
     */
    //@ExcelProperty(value = "创建日期")
    private Date createTime;

    /**
     * 创建人
     */
    //@ExcelProperty(value = "创建人")
    private String createBy;

    /**
     * 更新日期
     */
    //@ExcelProperty(value = "更新日期")
    private Date updateTime;

    /**
     * 更新人
     */
    //@ExcelProperty(value = "更新人")
    private String updateBy;


}
